<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>{if $pagetitle ne ""}{$pagetitle} - {/if}{$site_name}</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="description" content="{if $pagetitle ne ""}{$pagetitle} - {/if}{if $metadescription ne ""}{$metadescription} - {/if}{$site_name}">
<meta name="keywords" content="{if $pagetitle ne ""}{$pagetitle},{/if}{if $metakeywords ne ""}{$metakeywords},{/if}{$site_name}">
<link href="{$cssurl}/global.php" media="screen" rel="stylesheet" type="text/css" />
<link href="{$cssurl}/style.css" media="screen" rel="stylesheet" type="text/css" />
<!--[if lt IE 7]><link href="{$cssurl}/ie6.php" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if IE 7]><link href="{$cssurl}/ie7.php" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
<link href="{$cssurl}/kwicks-menu.css" media="screen" rel="stylesheet" type="text/css" />

<script src="{$baseurl}/js/prototype.js" type="text/javascript"></script>
<script type="text/javascript" src="http://www.trinijunglejuice.com/tjjnews/javascript/menudrop.js"></script>
<script type="text/javascript" src="http://www.trinijunglejuice.com/tjjnews/javascript/menudrop.js"></script>
<script type="text/javascript" src="http://ajax.googlemast_home_whiteapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$.noConflict();
</script>
<script type="text/javascript" src="http://www.trinijunglejuice.com/tjjtv/js/jquery.hover.js"></script>
<script type='text/javascript' src='http://www.trinijunglejuice.com/tjjtv/templates/tjjtv151/kwicks.js'></script>
<script type="text/javascript" src="{$baseurl}/js/mycustom.js"></script>
</head>
<!-- Deluxe Menu -->
<noscript>
<a href="http://deluxe-menu.com">Javascript Menu 
by Deluxe-Menu.com</a>
</noscript>
<script type="text/javascript">var dmWorkPath = "http://www.trinijunglejuice.com/tjj-menu-900.files/";</script>
<script type="text/javascript" src="http://www.trinijunglejuice.com/tjj-menu-900.files/dmenu.js"></script>
<body>
<div id="mast_home_white">
  <TABLE WIDTH="730" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="center">
    <TR>
      <TD VALIGN="top" WIDTH="245" align="left"><SCRIPT LANGUAGE="JavaScript" SRC="http://www.trinijunglejuice.com/random-logo.js" TYPE="text/javascript"></script>
      </TD>
      <TD algin="left" WIDTH="485"><DIV ALIGN="right"> <IMG SRC="http://www.trinijunglejuice.com/images/tjj_advertise.gif" WIDTH="10" HEIGHT="60" ALT="Advertise">
          <!--/* OpenX Javascript Tag v2.8.7 */-->
          <script type='text/javascript'><!--//<![CDATA[
       var m3_u = (location.protocol=='https:'?'https://www.trinijunglejuice.com/tjjpromo/www/delivery/ajs.php':'http://www.trinijunglejuice.com/tjjpromo/www/delivery/ajs.php');
       var m3_r = Math.floor(Math.random()*99999999999);
       if (!document.MAX_used) document.MAX_used = ',';
       document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
       document.write ("?campaignid=54&amp;target=_blank");
       document.write ('&amp;cb=' + m3_r);
       if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
       document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
       document.write ("&amp;loc=" + escape(window.location));
       if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
       if (document.context) document.write ("&context=" + escape(document.context));
       if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
       document.write ("'><\/scr"+"ipt>");
    //]]>--></script>
          <noscript>
          <a href='http://www.trinijunglejuice.com/tjjpromo/www/delivery/ck.php?n=a7487dcb&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://www.trinijunglejuice.com/tjjpromo/www/delivery/avw.php?campaignid=54&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a7487dcb' border='0' alt='' /></a>
          </noscript>
        </DIV>
        <DIV ALIGN="right" > <FONT SIZE="1" face="Arial, Helvetica, sans-serif">
          <SCRIPT LANGUAGE="JavaScript" SRC="http://www.trinijunglejuice.com/header.js"></script>
          </FONT> </DIV></TD>
    </TR>
    <TR>
      <TD VALIGN="top" COLSPAN="2"><hr align="center"  width="901" style="margin-bottom: 5px; margin-top: 5px;"/>
      </TD>
    </TR>
  </TABLE>
  <div align="center">
    <script type="text/javascript" src="http://www.trinijunglejuice.com/tjj-menu-900.js" language=""></script>
    <hr align="center" width="901" style="margin-bottom: 5px; margin-top: 5px;"/>
  </div>
  <div class="center_wrap clearfix text_right blue">
	<img src="{$imageurl}/tjj_music_header.jpg" alt="tjj header image" height="30px"  border="0" name="language" style="float:left">
    <ul id="nav_util_list">
      {include file="header_menu.tpl"} 	
    </ul>
  </div>
</div>
<div id="mast_home_blue">
  <div class="center_wrap clearfix" style="padding:10px 23px 5px 0">
  	{*<div style="float:right;">
    <form action="{$baseurl}/searchengine.php" method="post">
      <input id="searchterm" name="searchterm" type="text" value="" />
      <input type="hidden" name="submitsearch" value="1" />
      <button type="submit">{$lang168}</button>
    </form>
    </div>*}
	{include file="searchbar.tpl"}
	<div class="clearfix"></div>
	{*<br />
	{include file="header_top_menu.tpl"}
<br />*}
</div>
<div class="center_wrap clearfix">
<div><img src="{$baseurl}/images/tjj_music_featured_music.jpg" alt="Featured audios" border="0" /></div>
<div id="audio_wrap_home" style="float:left;"> 
{if $raudios[0].AUDIOID neq ''}
	<span id="player"> We recently encoded our videos in a newer Flash format. You need to 
		<br />
		get the latest <a href="http://www.macromedia.com/go/getflashplayer">Flash Player</a> to see this video.
	</span>
        
	<script type="text/javascript">
		var so = new SWFObject('{$baseurl}/audio_player.swf','flvplayer','525','194','8', null, true);
		so.addParam("allowFullScreen", "true");
		so.addParam("allowScriptAccess", "always");
		so.addParam("wmode", "transparent");
                //so.addParam('audio_year','2012');
		{if $mainastart ne "0"}
		so.addVariable('autoPlay','true');
		{/if}
		so.addVariable('http_base_url','{$baseurl}/');
   		so.addVariable('audioid','{$raudios[0].AUDIOID}-{$catName}-{$audio_year}');
                so.write('player');
	</script>
	{else}
	<span>No feature audios are available now.</span>
	{/if}
</div> 
<div style="float:right">
	<p>{insert name=get_advertisement value=var AID="7"}</p>
</div>
    <div class="clearfix"></div>
    <div id="list_cats" class="clearfix" style="width:160px; float:left;"> 
        <a class="category-txt" href="{$baseurl}/categories/">
	<img alt="Category" src="{$baseurl}/images/tjj_music_we_categories.jpg">
        </a>
        
      <!--<h4><a class="reverse-link">{*$lang42*}</a></h4>-->
      <ul id="ul_categories">
        {insert name=get_audio_categories assign=cats}
        {section name=i loop=$cats}
        <li><a href="{$baseurl}/browse/categories/audios/z/{$cats[i].CATID}/1/{$cats[i].name|stripslashes}">{$cats[i].name|stripslashes}</a></li>
        {/section}
      </ul>
      {if $smarty.session.USERID eq ""}
      <br /><br />
          <div id="reg_box"> <img alt="Members" src="http://www.trinijunglejuice.com/tjjtv/templates/tjjtv151/images/cap_members.gif"> <br>
            <br>
            <div id="public_wrap_sm">
              <form id="login-form" name="login-form" action="{$baseurl}/login.php" method="post">
                {if $error ne ""}
                {include file="show_error.tpl"}
                {/if}
                {if $showmessage ne ""}
                {include file="show_message.tpl"}
                {/if}
                <label for="user_login" style="padding-bottom:5px;">{$lang163}</label>
                <br />
                <input name="lusername" id="lusername" type="text" value="" size="15" style="border: 1px solid #CCCCCC; font-family: lucida grande,tahoma,verdana,arial,sans-serif; font-size: 11px; padding: 5px; width:150px;"/>
                <label for="user_password" style="padding-bottom:5px;">{$lang225}</label>
                <br />
                <input type="password" name="lpassword" value="" size="15" id="lpassword" style="border: 1px solid #CCCCCC; font-family: lucida grande,tahoma,verdana,arial,sans-serif; font-size: 11px; padding: 5px; width:150px;" />
                <br/>
                <input class="check" type="checkbox" value="yes" name="remember" id="remember" style="margin-top:7px; margin-bottom:5px; float:left;">
                &nbsp;&nbsp;&nbsp;
                <label for="remember" style="padding-top:5px; padding-bottom:5px;">{$lang788}</label>
                <br />
                <br />
                <button type="submit" onclick="document.getElementById('login_type').value = 'site';" class="side_login_btn">{$lang224}</button> OR <a href="{$baseurl}/fbklogin.php" style="display:inline;vertical-align:top;"><img src="images/fbklogin.bmp" alt="Login with Facebook" title="Login with Facebook" onclick="document.getElementById('login_type').value = 'facebook';"></a>
                <br />
                <input type="hidden" name="authenticate" value="{$lang224}" />
                <input type="hidden" name="redirect" value="{$smarty.request.redirect}" />
				<input type="hidden" name="login_type" id="login_type" value="" />
                <br />
                <a href="{$baseurl}/resetpassword.php">{$lang252}</a> <a href="{$baseurl}/forgot.php">{$lang253}</a>
              </form>
            </div>
          </div>
      {/if}
      <div class="sky_ad" {if $smarty.session.USERID eq ""} style="padding-top:5px"{/if}>
                <center>
                    {insert name=get_advertisement value=var AID="2"}
                </center>
            </div>
    </div>
    {*<ul id="home_feat_media" class="clearfix">
        	{section name=i loop=$raudios}
            <li>
			<a href="{$baseurl}/audios/{$raudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$raudios[i].AUDIOID}">
				{capture assign='player'}images/audiothumbs/{$raudios[i].AUDIOID}-1{$raudios[i].ext}{/capture} 
				{if $player|file_exists}
					<img height="200" width="200" alt="{$raudios[i].title|stripslashes}" src="{$athumburl}/{$raudios[i].AUDIOID}-1{$raudios[i].ext}" />
				{else}
					<img height="200" width="200" alt="{$raudios[i].title|stripslashes}" src="{$athumburl}/default.png" />
				{/if}
				<img alt="{$raudios[i].title|stripslashes|truncate:20:"...":true}" height="200" src="{$athumburl}/{$raudios[i].AUDIOID}-2{$raudios[i].ext}" width="200" />
			</a></li>
            {/section}
        </ul>*}
    <div class="home_wrap" style="float: left; width: 450px; padding-left: 15px;padding-top:10px;">
      <div class="center_wrap clearfix">
        <div class="cat_box_full" id="home_cat_box">
          <!--<h3>{$lang826}</h3>-->
          <img border="0/" alt="New Audios" src="{$baseurl}/images/tjj_music_new_music.jpg">
          <div class="cat_body_full clearfix"> {section name=i loop=$faudios}
            <!-- LOOP START -->
            <div class="search_box_grid">
              <a href="{$baseurl}/audios/{$faudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$faudios[i].AUDIOID}">
				{capture assign='player'}images/audiothumbs/{$faudios[i].AUDIOID}-1{$faudios[i].ext}{/capture} 
				{if $player|file_exists}
					<img class="imag_home" width="107" height="72" width="116" alt="{$faudios[i].title|stripslashes}" src="{$athumburl}/{$faudios[i].AUDIOID}-1{$faudios[i].ext}" />
				{else}
					<img class="imag_home" width="107" height="72" alt="{$faudios[i].title|stripslashes}" src="{$athumburl}/default.png" />
				{/if}
                  {*<img class="imag_home" width="107" height="72" alt="{$faudios[i].title|stripslashes|truncate:20:"...":true}" src="{$athumburl}/{$faudios[i].AUDIOID}-1{$faudios[i].ext}" />*}
                 {*{if $faudios[i].featured eq '1'} 
                 <div class="tag"><span class="featured">featured</span></div>
                 {/if}*}
           </a> 
              <a class="song_name" href="{$baseurl}/audios/{$faudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$faudios[i].AUDIOID}"><span class="artist_name">{$faudios[i].title|stripslashes|truncate:25:"...":true}</span></a>
			  <span class="item_views">{$faudios[i].viewcount} views</span>
            </div>
            <!-- LOOP END -->
            {/section} </div>
        </div>
      </div>
    </div>
    <div id="top_videos" style="float: left; width: 250px; padding-top: 10px; padding-left: 10px;"> <a href="topvideos.php"> <img border="0" alt="Top Music" src="{$baseurl}/images/tjj_music_top_songs.jpg"> </a> <br>
      {section name=i loop=$vaudios}
      <div class="item"><a href="{$baseurl}/audios/{$vaudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$vaudios[i].AUDIOID}">
			{capture assign='player'}images/audiothumbs/{$vaudios[i].AUDIOID}-1{$vaudios[i].ext}{/capture} 
			{if $player|file_exists}
				<img align="left" width="72" height="53" class="imag" alt="{$vaudios[i].title|stripslashes}" src="{$athumburl}/{$vaudios[i].AUDIOID}-1{$vaudios[i].ext}" />
			{else}
				<img align="left" width="72" height="53" class="imag" alt="{$vaudios[i].title|stripslashes}" src="{$athumburl}/default.png" />
			{/if}
                        <span class="artist_name_1">{if $vaudios[i].artist|stripslashes neq ""}{$vaudios[i].artist|stripslashes}{else}Anonymous{/if}</span><a title="{$vaudios[i].title|stripslashes}" class="song_name" href="{$baseurl}/audios/{$vaudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$vaudios[i].AUDIOID}">{$vaudios[i].title|stripslashes|truncate:15:"...":true}</a>
			{*<img align="left" width="72" height="53" class="imag" alt="{$vaudios[i].title|stripslashes}" src="{$athumburl}/{$vaudios[i].AUDIOID}-1{$vaudios[i].ext}"></a><span class="artist_name_1">{if $vaudios[i].username|stripslashes neq ""}{$vaudios[i].username|stripslashes}{else}Anonymous{/if}</span><a title="{$vaudios[i].title|stripslashes}" class="song_name" href="{$baseurl}/audios/{$vaudios[i].AUDIOID}/{insert name=get_seotitle_from_audioid assign=title audioid=$vaudios[i].AUDIOID}">{$vaudios[i].title|stripslashes|truncate:15:"...":true}*}
	  </a></div>
      {/section}
    </div>
  </div>
</div>
